import java.util.ArrayList;
import java.util.List;
import java.util.Random;
import java.util.stream.Collectors;
import java.util.stream.IntStream;

public class Ddd {

    public static void main(String[] args) {
        Random random = new Random();

        IntStream intStream = random.ints(0, 10);
        List tt = random.ints(0,10).limit(10).boxed().collect(Collectors.toList());
        System.out.println(tt);

        List<People> peopleList = new ArrayList<>();
        for (int i = 1; i < 5; i++) {
            People people = new People();
            people.setName("zhang"+i);
            people.setSex("sex"+i);
            peopleList.add(people);
        }



    }
}
